package cn.funeralobjects.ams.service;

import cn.funeralobjects.ams.model.Policy;
import cn.funeralobjects.ams.model.StsAccessKey;

/**
 * @author FuneralObjects
 * Create date: 2020/6/7 6:05 PM
 */
public interface StsAccessKeyService {
//    StsAccessKey createStsAccessKeyByRole(String roleSessionName, Integer ramRoleId, Integer prodResId, Policy policy);

    StsAccessKey createStsAccessKeyByRole(String roleSessionName, Integer ramRoleId, Integer prodResId, Policy policy, Long durationTime);
}
